[PATCH] tools/rtla: Restore option to set VERSION var to VERSION file's contents
authorDiederik de Haas <didi.debian@cknow.org>
Tue, 18 Jun 2024 07:46:18 +0000 (09:46 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 13 Jul 2024 15:45:02 +0000 (17:45 +0200)
commit6990a158ce12d46ce172e9c5bf7ab0730beb3c38
treef3f25f41d8f590ee7270f65945988a4f260da38f
parent99547eda8363b993d20fd59324fb1d82e25ac65d
[PATCH] tools/rtla: Restore option to set VERSION var to VERSION file's contents

From 6640548d40a85053cf065f4c66f298bb5253557f Mon Sep 17 00:00:00 2001
Forwarded: not-needed

In upstream commit 01474dc706ca ("tools/rtla: Use tools/build makefiles
to build rtla") the ``Makefile`` was completely restructered to make
use of the ``tools/build`` infrastructure.

For some reason, the restructuring also caused the ``cat VERSION`` part
to detect the kernel version to be dropped and only runs the
``kernelversion`` (toplevel) Makefile target.
Previously that was used as fallback when ``VERSION`` didn't exist.
Re-add the ``cat VERSION`` part as that is used in the Debian build
system.

Gbp-Pq: Topic debian
Gbp-Pq: Name tools-rtla-Restore-option-to-set-VERSION-var-to-VERS.patch
tools/tracing/rtla/Makefile